class OrderListEntity {

	/**
	 * {
			"Success": 1,
			"ErrorCode": 0,
			"ErrorMsg": null,
			"CallInfo": {
			"list": [{
			"id": "126",
			"insert_time": "2019-09-26 09:53:34",
			"status_str": "2",
			"number": "Z201909260953341743225",
			"group_number": "D20190926095334908747",
			"need_pay_price": "0.00",
			"freight": "0.00",
			"activity_spell_team_status_string": "",
			"activity_spell_team_status": "",
			"num": 1,
			"supply_channel": 0,
			"identity_number": "",
			"ship_name": "sagasdgasdg",
			"ship_mobile": "18221256958",
			"ship_address": "福建省 龙岩市 连城县 fasdfasdasgd",
			"express_number": "",
			"express_name": "",
			"express_img": "",
			"express_code": "",
			"status_desc": "待发货",
			"action_list": [],
			"product_list": [{
			"detail_id": "79",
			"activity_title": "",
			"product_name": "花花牛 牛花花200ml*12袋多口味果蔬 风味早餐奶常温整箱果味牛奶",
			"product_attr": "【口味:21袋混合】",
			"standard_string": "12袋每箱",
			"rank_price": "0.00",
			"supply_channel": 0,
			"num": "1",
			"image_url": "http:\/\/aweb.oss-cn-hangzhou.aliyuncs.com\/files\/20190905151840185.png"
			}],
			"is_comment": 0,
			"is_express": "0",
			"express_url": "https:\/\/m.kuaidi100.com\/result.jsp?nu="
			}, {
			"id": "116",
			"insert_time": "2019-09-25 10:44:35",
			"status_str": "7",
			"number": "Z201909251044358243858",
			"group_number": "D20190925104435436373",
			"need_pay_price": "45.00",
			"freight": "0.00",
			"activity_spell_team_status_string": "",
			"activity_spell_team_status": "",
			"num": 1,
			"supply_channel": 0,
			"identity_number": "",
			"ship_name": "sagasdgasdg",
			"ship_mobile": "18221256958",
			"ship_address": "福建省 龙岩市 连城县fasdfasdasgd",
			"express_number": "",
			"express_name": "",
			"express_img": "",
			"express_code": "",
			"status_desc": "待审核",
			"action_list": [{
			"title": "取消",
			"action": "cancel"
			}],
			"product_list": [{
			"detail_id": "69",
			"activity_title": "",
			"product_name": "花花牛浓缩酸奶芝士风味益生菌发酵乳牛奶整箱180g*12网红袋装 ",
			"product_attr": "",
			"standard_string": "180g*12",
			"rank_price": "45.00",
			"supply_channel": 0,
			"num": "1",
			"image_url": "http:\/\/aweb.oss-cn-hangzhou.aliyuncs.com\/files\/20190905145307817.jpg"
			}],
			"is_comment": 0,
			"is_express": "0",
			"express_url": "https:\/\/m.kuaidi100.com\/result.jsp?nu="
			}, {
			"id": "111",
			"insert_time": "2019-09-24 17:04:41",
			"status_str": "7",
			"number": "Z201909241704419920208",
			"group_number": "D20190924170441257950",
			"need_pay_price": "1.00",
			"freight": "0.00",
			"activity_spell_team_status_string": "",
			"activity_spell_team_status": "",
			"num": 1,
			"supply_channel": 0,
			"identity_number": "",
			"ship_name": "sagasdgasdg",
			"ship_mobile": "18221256958",
			"ship_address": "福建省 龙岩市 连城县fasdfasdasgd",
			"express_number": "",
			"express_name": "",
			"express_img": "",
			"express_code": "",
			"status_desc": "待审核",
			"action_list": [{
			"title": "取消",
			"action": "cancel"
			}],
			"product_list": [{
			"detail_id": "62",
			"activity_title": "",
			"product_name": "真果粒",
			"product_attr": "",
			"standard_string": "瓶",
			"rank_price": "1.00",
			"supply_channel": 0,
			"num": "1",
			"image_url": "http:\/\/aweb.oss-cn-hangzhou.aliyuncs.com\/files\/20190924135758812.png"
			}],
			"is_comment": 0,
			"is_express": "0",
			"express_url": "https:\/\/m.kuaidi100.com\/result.jsp?nu="
			}],
			"total": "3",
			"status_list": [{
			"status": "1,2,3,4,5,6,7",
			"desc": "全部"
			}, {
			"status": "1",
			"desc": "待付款"
			}, {
			"status": "2",
			"desc": "待发货"
			}, {
			"status": "3",
			"desc": "待收货"
			}]
			}
			}
	 */


	OrderListCallinfo callInfo;
	dynamic errorMsg;
	int errorCode;
	int success;

	OrderListEntity({this.callInfo, this.errorMsg, this.errorCode, this.success});

	OrderListEntity.fromJson(Map<String, dynamic> json) {
		callInfo = json['CallInfo'] != null ? new OrderListCallinfo.fromJson(json['CallInfo']) : null;
		errorMsg = json['ErrorMsg'];
		errorCode = json['ErrorCode'];
		success = json['Success'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.callInfo != null) {
      data['CallInfo'] = this.callInfo.toJson();
    }
		data['ErrorMsg'] = this.errorMsg;
		data['ErrorCode'] = this.errorCode;
		data['Success'] = this.success;
		return data;
	}
}

class OrderListCallinfo {
	String total;
	List<OrderListCallinfoStatusList> statusList;
	List<OrderListCallinfoList> xList;

	OrderListCallinfo({this.total, this.statusList, this.xList});

	OrderListCallinfo.fromJson(Map<String, dynamic> json) {
		total = json['total'];
		if (json['status_list'] != null) {
			statusList = new List<OrderListCallinfoStatusList>();(json['status_list'] as List).forEach((v) { statusList.add(new OrderListCallinfoStatusList.fromJson(v)); });
		}
		if (json['list'] != null) {
			xList = new List<OrderListCallinfoList>();(json['list'] as List).forEach((v) { xList.add(new OrderListCallinfoList.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['total'] = this.total;
		if (this.statusList != null) {
      data['status_list'] =  this.statusList.map((v) => v.toJson()).toList();
    }
		if (this.xList != null) {
      data['list'] =  this.xList.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class OrderListCallinfoStatusList {
	String status;
	String desc;

	OrderListCallinfoStatusList({this.status, this.desc});

	OrderListCallinfoStatusList.fromJson(Map<String, dynamic> json) {
		status = json['status'];
		desc = json['desc'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['status'] = this.status;
		data['desc'] = this.desc;
		return data;
	}
}

class OrderListCallinfoList {
	String activitySpellTeamStatus;
	String expressImg;
	String freight;
	int num;
	String insertTime;
	int supplyChannel;
	String identityNumber;
	String number;
	String expressCode;
	String expressUrl;
	int isComment;
	String id;
	String expressNumber;
	List<OrderListCallinfoListProductList> productList;
	String shipAddress;
	String shipName;
	String shipMobile;
	String statusDesc;
	List<Null> actionList;
	String statusStr;
	String expressName;
	String needPayPrice;
	String activitySpellTeamStatusString;
	String groupNumber;
	String isExpress;

	OrderListCallinfoList({this.activitySpellTeamStatus, this.expressImg, this.freight, this.num, this.insertTime, this.supplyChannel, this.identityNumber, this.number, this.expressCode, this.expressUrl, this.isComment, this.id, this.expressNumber, this.productList, this.shipAddress, this.shipName, this.shipMobile, this.statusDesc, this.actionList, this.statusStr, this.expressName, this.needPayPrice, this.activitySpellTeamStatusString, this.groupNumber, this.isExpress});

	OrderListCallinfoList.fromJson(Map<String, dynamic> json) {
		activitySpellTeamStatus = json['activity_spell_team_status'];
		expressImg = json['express_img'];
		freight = json['freight'];
		num = json['num'];
		insertTime = json['insert_time'];
		supplyChannel = json['supply_channel'];
		identityNumber = json['identity_number'];
		number = json['number'];
		expressCode = json['express_code'];
		expressUrl = json['express_url'];
		isComment = json['is_comment'];
		id = json['id'];
		expressNumber = json['express_number'];
		if (json['product_list'] != null) {
			productList = new List<OrderListCallinfoListProductList>();(json['product_list'] as List).forEach((v) { productList.add(new OrderListCallinfoListProductList.fromJson(v)); });
		}
		shipAddress = json['ship_address'];
		shipName = json['ship_name'];
		shipMobile = json['ship_mobile'];
		statusDesc = json['status_desc'];
		if (json['action_list'] != null) {
			actionList = new List<Null>();
		}
		statusStr = json['status_str'];
		expressName = json['express_name'];
		needPayPrice = json['need_pay_price'];
		activitySpellTeamStatusString = json['activity_spell_team_status_string'];
		groupNumber = json['group_number'];
		isExpress = json['is_express'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['activity_spell_team_status'] = this.activitySpellTeamStatus;
		data['express_img'] = this.expressImg;
		data['freight'] = this.freight;
		data['num'] = this.num;
		data['insert_time'] = this.insertTime;
		data['supply_channel'] = this.supplyChannel;
		data['identity_number'] = this.identityNumber;
		data['number'] = this.number;
		data['express_code'] = this.expressCode;
		data['express_url'] = this.expressUrl;
		data['is_comment'] = this.isComment;
		data['id'] = this.id;
		data['express_number'] = this.expressNumber;
		if (this.productList != null) {
      data['product_list'] =  this.productList.map((v) => v.toJson()).toList();
    }
		data['ship_address'] = this.shipAddress;
		data['ship_name'] = this.shipName;
		data['ship_mobile'] = this.shipMobile;
		data['status_desc'] = this.statusDesc;
		if (this.actionList != null) {
      data['action_list'] =  [];
    }
		data['status_str'] = this.statusStr;
		data['express_name'] = this.expressName;
		data['need_pay_price'] = this.needPayPrice;
		data['activity_spell_team_status_string'] = this.activitySpellTeamStatusString;
		data['group_number'] = this.groupNumber;
		data['is_express'] = this.isExpress;
		return data;
	}
}

class OrderListCallinfoListProductList {
	String productAttr;
	String imageUrl;
	String num;
	int supplyChannel;
	String standardString;
	String detailId;
	String rankPrice;
	String productName;
	String activityTitle;

	OrderListCallinfoListProductList({this.productAttr, this.imageUrl, this.num, this.supplyChannel, this.standardString, this.detailId, this.rankPrice, this.productName, this.activityTitle});

	OrderListCallinfoListProductList.fromJson(Map<String, dynamic> json) {
		productAttr = json['product_attr'];
		imageUrl = json['image_url'];
		num = json['num'];
		supplyChannel = json['supply_channel'];
		standardString = json['standard_string'];
		detailId = json['detail_id'];
		rankPrice = json['rank_price'];
		productName = json['product_name'];
		activityTitle = json['activity_title'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['product_attr'] = this.productAttr;
		data['image_url'] = this.imageUrl;
		data['num'] = this.num;
		data['supply_channel'] = this.supplyChannel;
		data['standard_string'] = this.standardString;
		data['detail_id'] = this.detailId;
		data['rank_price'] = this.rankPrice;
		data['product_name'] = this.productName;
		data['activity_title'] = this.activityTitle;
		return data;
	}
}
